<template>
	<view>
		
		<view class="top">
			
		</view>
		
		<view class="bottom">
			<view class="content">
				<view class="success-icon">
					<image src="/static/支付成功.png" mode=""></image>
				</view>
				<view class="text">
					支付成功
				</view>
				<view class="price">
					￥39.90
				</view>
				<view class="numbering">
					预约编号：256654558988985
				</view>
				
				<view class="button">
					<button type="primary" @click="backhome">
						返回首页
					</button>
					<button type="primary" @click="orderDetails">
						订单详情
					</button>
				</view>
			</view>
		</view>
		

	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			orderDetails(){
				uni.navigateTo({
					url:'/pages/maintenance/orderDetails/orderDetails'
				})
			},
			backhome(){
				uni.navigateTo({
					url:'/pages/index/index' 
				})
			}
		}
	}
</script>

<style scoped>
	.top{
		height: 25vh;
		background-color: #1f73f1;
	}
	.bottom{
		padding: 20rpx;
		background-color: #f8f8f8;
		min-height: 75vh;
	}
	.content{
		display: flex;
		flex-direction: column;
		align-items: center;
		background-color: #ffffff;
		padding: 100rpx 50rpx;
		border-radius: 35rpx;
		transform: translateY(-330rpx);
	}
	.success-icon{
		width: 150rpx;
		height: 150rpx;
		margin-bottom: 40rpx;
	}
	.success-icon image{
		width: 150rpx;
		height: 150rpx;		
	}
	.text{
		font-size: 40rpx;
		margin-bottom: 20rpx;
		font-weight: bold;
	}
	.price{
		font-size: 60rpx;
		margin-bottom: 40rpx;
		margin-top: 30rpx;
		font-weight: bold;
		color: red;
	}
	.numbering{
		font-size: 30rpx;
		margin-bottom: 40rpx;
		font-weight: bold;
	}
	button{
		margin-bottom: 30rpx;
		height: 80rpx;         
		line-height: 40px;    
		font-size: 32rpx;
		border-radius: 40rpx;
	}
	.button{
		margin-top: 30rpx;
		width: 500rpx;
	}
	.button  button:nth-child(1){
		background-color: #0c65e8;
	}
	.button  button:nth-child(2){
		background-color: #bfbfbf;
	}
</style>
